<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Dimble's Playground » \RAuthItemBehavior</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Dimble's Playground</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                    API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Auth.html"><i class="icon-folder-open"></i> Auth</a></li>
<li><a href="../packages/Database.html"><i class="icon-folder-open"></i> Database</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Infraestructure.html"><i class="icon-folder-open"></i> Infraestructure</a></li>
<li><a href="../packages/Rights.html"><i class="icon-folder-open"></i> Rights</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                    Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                    Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
                <span class="label label-info">418</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
                <ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
                <span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
                            Javascript is disabled; several features are only available
                            if Javascript is enabled.
                        </div></noscript>
<div class="row">
<div class="span4">
<div class="btn-toolbar">
<div class="btn-group visibility" data-toggle="buttons-checkbox">
<button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button>
</div>
<div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i title="Methods" class="icon-custom icon-method"></i> Methods
                    <ul>
<li class="method public "><a href="#method___construct" title="__construct() :: Constructs the behavior."><span class="description">Constructs the behavior.</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_childCount" title="childCount() :: Returns the markup for the child count."><span class="description">Returns the markup for the child count.</span><pre>childCount()</pre></a></li>
<li class="method public "><a href="#method_getAssignPermissionLink" title="getAssignPermissionLink() :: Returns the markup for the assign permission link."><span class="description">Returns the markup for the assign permission link.</span><pre>getAssignPermissionLink()</pre></a></li>
<li class="method public "><a href="#method_getDeleteOperationLink" title="getDeleteOperationLink() :: Returns the markup for the delete operation link."><span class="description">Returns the markup for the delete operation link.</span><pre>getDeleteOperationLink()</pre></a></li>
<li class="method public "><a href="#method_getDeleteRoleLink" title="getDeleteRoleLink() :: Returns the markup for the delete role link."><span class="description">Returns the markup for the delete role link.</span><pre>getDeleteRoleLink()</pre></a></li>
<li class="method public "><a href="#method_getDeleteTaskLink" title="getDeleteTaskLink() :: Returns the markup for the delete task link."><span class="description">Returns the markup for the delete task link.</span><pre>getDeleteTaskLink()</pre></a></li>
<li class="method public "><a href="#method_getGridNameLink" title="getGridNameLink() :: Returns the markup for the name link to displayed in the grid."><span class="description">Returns the markup for the name link to displayed in the grid.</span><pre>getGridNameLink()</pre></a></li>
<li class="method public "><a href="#method_getInheritedPermissionText" title="getInheritedPermissionText() :: Returns the markup for a inherited permission."><span class="description">Returns the markup for a inherited permission.</span><pre>getInheritedPermissionText()</pre></a></li>
<li class="method public "><a href="#method_getNameLink" title="getNameLink() :: Returns the link to update the item."><span class="description">Returns the link to update the item.</span><pre>getNameLink()</pre></a></li>
<li class="method public "><a href="#method_getNameText" title="getNameText() :: Returns the item name."><span class="description">Returns the item name.</span><pre>getNameText()</pre></a></li>
<li class="method public "><a href="#method_getRemoveChildLink" title="getRemoveChildLink() :: Returns the markup for the remove child link."><span class="description">Returns the markup for the remove child link.</span><pre>getRemoveChildLink()</pre></a></li>
<li class="method public "><a href="#method_getRemoveParentLink" title="getRemoveParentLink() :: Returns the markup for the remove parent link."><span class="description">Returns the markup for the remove parent link.</span><pre>getRemoveParentLink()</pre></a></li>
<li class="method public "><a href="#method_getRevokeAssignmentLink" title="getRevokeAssignmentLink() :: Returns the markup for the revoke assignment link."><span class="description">Returns the markup for the revoke assignment link.</span><pre>getRevokeAssignmentLink()</pre></a></li>
<li class="method public "><a href="#method_getRevokePermissionLink" title="getRevokePermissionLink() :: Returns the markup for the revoke permission link."><span class="description">Returns the markup for the revoke permission link.</span><pre>getRevokePermissionLink()</pre></a></li>
<li class="method public "><a href="#method_getTypeText" title="getTypeText() :: Returns the markup for the item type."><span class="description">Returns the markup for the item type.</span><pre>getTypeText()</pre></a></li>
<li class="method public "><a href="#method_sortableId" title="sortableId() :: Returns the markup for the id required by jui sortable."><span class="description">Returns the markup for the id required by jui sortable.</span><pre>sortableId()</pre></a></li>
</ul>
</li>
<li class="nav-header">
<i title="Properties" class="icon-custom icon-property"></i> Properties
                    <ul>
<li class="property public "><a href="#property_childCount" title="$childCount() :: "><span class="description"></span><pre>$childCount</pre></a></li>
<li class="property public "><a href="#property_parent" title="$parent() :: "><span class="description"></span><pre>$parent</pre></a></li>
<li class="property public "><a href="#property_userId" title="$userId() :: "><span class="description"></span><pre>$userId</pre></a></li>
</ul>
</li>
</ul>
</div>
<div class="span8">
<a id="\RAuthItemBehavior"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i title="Classes" class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li class="active">
<span class="divider">\</span><a href="../classes/RAuthItemBehavior.html">RAuthItemBehavior</a>
</li>
</ul>
<div class="element class">
<p class="short_description">Rights authorization item behavior class file.</p>
<div class="details">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>author</th>
<td><a href="mailto:cniska@live.com">Christoffer Niska</a></td>
</tr>
<tr>
<th>copyright</th>
<td>Copyright &amp;copy; 2010 Christoffer Niska</td>
</tr>
<tr>
<th>since</th>
<td>0.9.11</td>
</tr>
<tr>
<th>package</th>
<td><a href="../packages/Rights.behaviors.html">Rights\behaviors</a></td>
</tr>
</table>
<h3>
<i title="Methods" class="icon-custom icon-method"></i> Methods</h3>
<a id="method___construct"></a><div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse" title="public">
<h2>Constructs the behavior.</h2>
<pre>__construct(integer $userId<code> = null</code>, \CAuthItem $parent<code> = null</code>) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$userId</h4>
<code>integer</code><p>the id of the user to whom this item is assigned</p></div>
<div class="subelement argument">
<h4>$parent</h4>
<code><a href="CAuthItem.html">\CAuthItem</a></code><p>the parent item.</p></div>
</div></div>
</div>
<a id="method_childCount"></a><div class="element clickable method public method_childCount" data-toggle="collapse" data-target=".method_childCount .collapse" title="public">
<h2>Returns the markup for the child count.</h2>
<pre>childCount() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getAssignPermissionLink"></a><div class="element clickable method public method_getAssignPermissionLink" data-toggle="collapse" data-target=".method_getAssignPermissionLink .collapse" title="public">
<h2>Returns the markup for the assign permission link.</h2>
<pre>getAssignPermissionLink(\CAuthItem $role) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$role</h4>
<code><a href="CAuthItem.html">\CAuthItem</a></code><p>the role the permission is for.</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getDeleteOperationLink"></a><div class="element clickable method public method_getDeleteOperationLink" data-toggle="collapse" data-target=".method_getDeleteOperationLink .collapse" title="public">
<h2>Returns the markup for the delete operation link.</h2>
<pre>getDeleteOperationLink() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getDeleteRoleLink"></a><div class="element clickable method public method_getDeleteRoleLink" data-toggle="collapse" data-target=".method_getDeleteRoleLink .collapse" title="public">
<h2>Returns the markup for the delete role link.</h2>
<pre>getDeleteRoleLink() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getDeleteTaskLink"></a><div class="element clickable method public method_getDeleteTaskLink" data-toggle="collapse" data-target=".method_getDeleteTaskLink .collapse" title="public">
<h2>Returns the markup for the delete task link.</h2>
<pre>getDeleteTaskLink() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getGridNameLink"></a><div class="element clickable method public method_getGridNameLink" data-toggle="collapse" data-target=".method_getGridNameLink .collapse" title="public">
<h2>Returns the markup for the name link to displayed in the grid.</h2>
<pre>getGridNameLink() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getInheritedPermissionText"></a><div class="element clickable method public method_getInheritedPermissionText" data-toggle="collapse" data-target=".method_getInheritedPermissionText .collapse" title="public">
<h2>Returns the markup for a inherited permission.</h2>
<pre>getInheritedPermissionText(array $parents, boolean $displayType<code> = false</code>) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$parents</h4>
<code>array</code><p>the parents for this item.</p></div>
<div class="subelement argument">
<h4>$displayType</h4>
<code>boolean</code><p>whether to display the parent item type.</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getNameLink"></a><div class="element clickable method public method_getNameLink" data-toggle="collapse" data-target=".method_getNameLink .collapse" title="public">
<h2>Returns the link to update the item.</h2>
<pre>getNameLink() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getNameText"></a><div class="element clickable method public method_getNameText" data-toggle="collapse" data-target=".method_getNameText .collapse" title="public">
<h2>Returns the item name.</h2>
<pre>getNameText() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getRemoveChildLink"></a><div class="element clickable method public method_getRemoveChildLink" data-toggle="collapse" data-target=".method_getRemoveChildLink .collapse" title="public">
<h2>Returns the markup for the remove child link.</h2>
<pre>getRemoveChildLink() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getRemoveParentLink"></a><div class="element clickable method public method_getRemoveParentLink" data-toggle="collapse" data-target=".method_getRemoveParentLink .collapse" title="public">
<h2>Returns the markup for the remove parent link.</h2>
<pre>getRemoveParentLink() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getRevokeAssignmentLink"></a><div class="element clickable method public method_getRevokeAssignmentLink" data-toggle="collapse" data-target=".method_getRevokeAssignmentLink .collapse" title="public">
<h2>Returns the markup for the revoke assignment link.</h2>
<pre>getRevokeAssignmentLink() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getRevokePermissionLink"></a><div class="element clickable method public method_getRevokePermissionLink" data-toggle="collapse" data-target=".method_getRevokePermissionLink .collapse" title="public">
<h2>Returns the markup for the revoke permission link.</h2>
<pre>getRevokePermissionLink(\CAuthItem $role) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$role</h4>
<code><a href="CAuthItem.html">\CAuthItem</a></code><p>the role the permission is for.</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_getTypeText"></a><div class="element clickable method public method_getTypeText" data-toggle="collapse" data-target=".method_getTypeText .collapse" title="public">
<h2>Returns the markup for the item type.</h2>
<pre>getTypeText() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<a id="method_sortableId"></a><div class="element clickable method public method_sortableId" data-toggle="collapse" data-target=".method_sortableId .collapse" title="public">
<h2>Returns the markup for the id required by jui sortable.</h2>
<pre>sortableId() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the markup.</div>
</div></div>
</div>
<h3>
<i title="Properties" class="icon-custom icon-property"></i> Properties</h3>
<a id="property_childCount"> </a><div class="element clickable property public property_childCount" data-toggle="collapse" data-target=".property_childCount .collapse" title="public">
<h2>$childCount</h2>
<pre>$childCount </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>property</th>
<td>the amount of children this item has.</td>
</tr></table>
</div></div>
</div>
<a id="property_parent"> </a><div class="element clickable property public property_parent" data-toggle="collapse" data-target=".property_parent .collapse" title="public">
<h2>$parent</h2>
<pre>$parent </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>property</th>
<td>the parent item.</td>
</tr></table>
</div></div>
</div>
<a id="property_userId"> </a><div class="element clickable property public property_userId" data-toggle="collapse" data-target=".property_userId .collapse" title="public">
<h2>$userId</h2>
<pre>$userId </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>property</th>
<td>the id of the user to whom this item is assigned.</td>
</tr></table>
</div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
            generated on 2014-02-03T11:03:56-02:00.<br></footer></div>
</div>
</body>
</html>
